class AddPointsToArticle < ActiveRecord::Migration
  def self.up
  	add_column :articles, :point_x, :float, :default=>0
  	add_column :articles, :point_y, :float, :default=>0
  	add_column :articles, :zoom, :integer, :default=>0
  end

  def self.down
  	remove_column :articles, :point_x
  	remove_column :articles, :point_y
  	remove_column :articles, :zoom
  end
end
